package com.online.edu.eduservice.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 自定义异常
 * @Author hlg
 * @Date 2020\3\2 0002
 * @Version V1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyCustomerException extends RuntimeException {

    private Integer code;
    private String message;

}
